﻿namespace Sources
{
	/// <summary>
	/// List Artefact to deploy
	/// </summary>
	public class ListArtefact : IDeployableObject
	{
		/// <summary>
		/// Title of the list
		/// </summary>
		public string Title { get; set; }
		/// <summary>
		/// Description of the list
		/// </summary>
		public string Description { get; set; }
		/// <summary>
		/// Template for the new List, if emtpy, Generic list is taken
		/// </summary>
		public ListTemplateTypeEnum? ListTemplateType { get; set; }
		/// <summary>
		/// Assigned contenttypes for the list
		/// </summary>
		public ContentTypeArtefact[] ContentTypes { get; set; }
		/// <summary>
		/// Identifies if the default list contenttypes should get removes 
		/// </summary>
		public bool RemoveOtherContentTypes { get; set; }
	}
}
